package juegoDeRol;

public class Pueba {

	public static void main(String[] args) {
		Rifle mauser = new Rifle();
		Tanque panzer = new Tanque();
		Soldado cabral = new Soldado(mauser);
		
		System.out.println(panzer.getVida());
		cabral.atacar(panzer);
	System.out.println(panzer.getVida());
		

	}

}
